#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main() {
    int n = 0;
    scanf("%d", &n);
    int arr[100];
    int i = 0;
    int count = 0;
    int num = 0;
    double sum = 0;
    double ret = 0;
    for (i = 0; i < n; i++)
    {
        scanf("%d", &arr[i]);
        if (arr[i] >> 31 != 0)
        {
            count++;
        }
        else if (arr[i] == 0)
        {
            num++;
        }
        else
        {
            sum += arr[i];
        }
    }
    ret = sum/(n-count-num);
    if (sum == 0)
    {
        ret = 0;
    }
    printf("%d %.1lf", count, ret);
    return 0;
}